import streamlit as st

st.header("Admin 1")
st.write(f"You are logged in as {st.session_state.role}.")


conn = st.connection('mysql', type='sql')

# Perform query.
df = conn.query('SELECT * from sys_user;', ttl=600)

# Print results.
for row in df.itertuples():
    st.write(f"{row.user_name} has a :{row.nick_name}:")